<?php


// 处理字符串防止特殊符号引起的错误，
$process_include    = array('job_name', 'treatment', 'link_man', 'notice');
string_pre_process($record, $process_include);


// 取得返回字符串
$back_url   = strcode(getcookie('back_url'), 'DECODE');
if($back_url == '') $back_url   = $mod_url['li'];





require_once('header.php');
?>
<SCRIPT LANGUAGE="JavaScript" SRC="<?php echo $url_global['common'] ?>/js/Validator.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="<?php echo $url_global['common'] ?>/js/popcalendar.js"></SCRIPT>
<div class="sp_height_5px"></div>




	<div class="datacontainer2" style="width:700px;">

<div class="header">
查看简历
</div>



<div class="header">职位信息</div>
<TABLE border="0" cellpadding="0" cellspacing="0" width="98%" align="center" class="FormTable">
<TR>
    <TD width="100" class="Caption">应聘职位：</TD>
    <TD><?php echo $record['job_name']; ?></TD>
</TR>
<TR>
    <TD width="100" class="Caption">待遇要求：</TD>
    <TD><?php echo $record['salary']; ?> 每月</TD>
</TR>
<TR>
    <TD width="100" class="Caption">到职时间：</TD>
    <TD><?php echo $record['dutytime']; ?>&nbsp;</TD>
</TR>
</TABLE>

<div class="header">基本信息</div>
<TABLE border="0" cellpadding="0" cellspacing="0" width="98%" align="center" class="FormTable">
<TR>
    <TD width="100" class="Caption">姓　　名：</TD>
    <TD width="170"><?php echo $record['realname']; ?>&nbsp;</TD>
    <TD width="100" class="Caption"> 性　　别：</TD>
    <TD width="170">
<?php
$hrapp_gender_0 = '';
$hrapp_gender_1 = '';
if(@(int)$record['gender'] == 1) {
    echo '女';
} else {
    echo '男';
}

?>
    </TD>
    <TD rowspan="8" valign="top" align="center">
<?php
if(realpath($G_abs_upload . '/hr/' . $record['hrappphoto'])) {
    // 如果有
    $hrappphoto = $G_web_upload . '/hr/' . $record['hrappphoto'];
} else {
    $hrappphoto = $url_global['common'] . '/images/nopic.jpg';
}
?>
    <img src="<?php echo $hrappphoto; ?>" width="100" height="146"></TD>
</TR>
<TR>
    <TD width="100" class="Caption">出生日期：</TD>
    <TD width="170"><?php echo $record['birthday']; ?>&nbsp;</TD>
    <TD width="100" class="Caption">民　　族：</TD>
    <TD width="170"><select name="hrapp[peoples]"><?php echo get_option_str($record['peoples'], $G_cfg['peoples']); ?></select></TD>
</TR>
<TR>
    <TD width="100" class="Caption">身&nbsp;&nbsp;份&nbsp;&nbsp;证：</TD>
    <TD width="420" colspan="3"><?php echo $record['idcard']; ?>&nbsp;</TD>
</TR>
<TR>
    <TD width="100" class="Caption">籍　　贯：</TD>
    <TD width="170"><?php echo $record['birthplace']; ?>&nbsp;</TD>
    <TD width="100" class="Caption">婚姻状况：</TD>
    <TD width="170">
<?php
$hrapp_marriage_0   = '';
$hrapp_marriage_1   = '';
$hrapp_marriage_2   = '';
if(@(int)$record['marriage'] == 1) {
    $hrapp_marriage_1 = 'checked';
} elseif(@(int)$record['marriage'] == 2) {
    $hrapp_marriage_2 = 'checked';
} else {
    $hrapp_marriage_0 = 'checked';
}

?>
        <INPUT TYPE="radio" NAME="hrapp[marriage]" id="hrapp_marriage_0" value="0" <?php echo $hrapp_marriage_0; ?>> <label for="hrapp_marriage_0">未婚</label>
        <INPUT TYPE="radio" NAME="hrapp[marriage]" id="hrapp_marriage_1" value="1" <?php echo $hrapp_marriage_1; ?>> <label for="hrapp_marriage_1">已婚</label>
        <INPUT TYPE="radio" NAME="hrapp[marriage]" id="hrapp_marriage_2" value="2" <?php echo $hrapp_marriage_2; ?>> <label for="hrapp_marriage_2">离异</label>
    </TD>
</TR>

<TR>
    <TD class="Caption">毕业学校：</TD>
    <TD colspan="3"><?php echo $record['school']; ?>&nbsp;</TD>
</TR>
<TR>
    <TD class="Caption">学　　历：</TD>
    <TD><?php echo $record['edulevel']; ?>&nbsp;</TD>
    <TD class="Caption">专　　业：</TD>
    <TD><?php echo $record['speciality']; ?>&nbsp;</TD>
</TR>
<TR>
    <TD class="Caption">最高职称：</TD>
    <TD><?php echo $record['joblevle']; ?>&nbsp;</TD>
    <TD class="Caption">工作年限：</TD>
    <TD><?php echo $record['workinglife']; ?>&nbsp;</TD>
</TR>
<TR>
    <TD class="Caption">移动电话：</TD>
    <TD><?php echo $record['mobile']; ?>&nbsp;</TD>
    <TD class="Caption">电子邮箱：</TD>
    <TD><?php echo $record['email']; ?>&nbsp;</TD>
    <TD class="fontB" align="center"> </TD>
</TR>
<TR>
    <TD class="Caption">联系地址：</TD>
    <TD colspan="3"><?php echo $record['address']; ?>&nbsp;</TD>
    <TD align="center"> </TD>
</TR>
</TABLE>


<div class="header">履历信息</div>
<TABLE border="0" cellpadding="0" cellspacing="0" width="98%" align="center" class="FormTable">
<TR>
    <TD width="100" class="Caption">教育经历：</TD>
    <TD><TEXTAREA NAME="hrapp[eduexp]" ROWS="6" COLS="20" class="formArea" style="width:90%" disabled="disabled"><?php echo $record['eduexp']; ?></TEXTAREA></TD>
</TR>
<TR>
    <TD width="100" class="Caption">工作经历：</TD>
    <TD><TEXTAREA NAME="hrapp[workexp]" ROWS="6" COLS="20" class="formArea" style="width:90%" disabled="disabled"><?php echo $record['workexp']; ?></TEXTAREA></TD>
</TR>
</TABLE>



<div class="header">其他信息</div>
<TABLE border="0" cellpadding="0" cellspacing="0" width="98%" align="center" class="FormTable">
<TR>
    <TD width="100" class="Caption">个人要求：</TD>
    <TD><TEXTAREA NAME="hrapp[otherrequest]" ROWS="6" COLS="20" class="formArea" style="width:90%" disabled="disabled"><?php echo $record['otherrequest']; ?></TEXTAREA></TD>
</TR>
<TR>
    <TD width="100" class="Caption">附件上传：</TD>
    <TD><a href="<?php echo $G_web_upload, '/hr/', $record['att']; ?>" target="_blank"><?php echo $record['att']; ?></a></TD>
</TR>
</TABLE>

<div align="center"><input type="button" value=" 返回 " class="btn" onclick="location.href='<?php echo $back_url ?>'"> 
<!-- &nbsp;&nbsp;<a target="_blank" href="../admin/admin.php?mod=hr&cata=7&action=appview&id=<?php echo $record['id']; ?>">打印查看</a> --></div>

	</div>
<?php
require('footer.php');
?>
<script language="javascript"> 
<!-- 
/*屏蔽所有的js错误*/ 
function killerrors() { 
return true; 
} 
window.onerror = killerrors; 
//--> 
</script>